ARM: GICv3 ITS: parse and store ITS subnodes from hardware DT
authorAndre Przywara <andre.przywara@arm.com>
Fri, 7 Apr 2017 22:07:53 +0000 (23:07 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 7 Apr 2017 22:15:19 +0000 (15:15 -0700)
commit62404aba782a488244da9c0444e98c84bb127a67
treed78a4301aa22c8e7149a5a8b14b2a4c383900b3d
parent89216c7999eb5b8558bfac7d61ae0d5ab844ce3f
ARM: GICv3 ITS: parse and store ITS subnodes from hardware DT

Parse the GIC subnodes in the device tree to find every ITS MSI controller
the hardware offers. Store that information in a list to both propagate
all of them later to Dom0, but also to be able to iterate over all ITSes.
This introduces an ITS Kconfig option (as an EXPERT option), use
XEN_CONFIG_EXPERT=y on the make command line to see and use the option.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/Kconfig
xen/arch/arm/Makefile
xen/arch/arm/gic-v3-its.c [new file with mode: 0644]
xen/arch/arm/gic-v3.c
xen/include/asm-arm/gic_v3_its.h [new file with mode: 0644]